﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Object One/Admin.Master" AutoEventWireup="true" CodeBehind="AddNewAccount.aspx.cs" Inherits="ProjectHK3.Object_One.AddNewAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>

        <table style="width:65%;">
            <tr>
                <td colspan="3" style="text-align: center">
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Cooper Black" Font-Size="30pt" ForeColor="#FF9933" Text="Add New Account"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td style="width: 242px">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="UserName :"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
                &nbsp;&nbsp;
                    <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False" Height="32px" ImageUrl="~/Object One/Pic/searchUser.png" OnClick="ImageButton1_Click" Width="35px" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="Label19" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="Password:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" OnPreRender="TextBox2_PreRender"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label4" runat="server" Text="ConfimPassword:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox3" runat="server" TextMode="Password" OnPreRender="TextBox3_PreRender"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2" ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="Incorrect." ForeColor="Red" SetFocusOnError="True"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="height: 41px">
                    <asp:Label ID="Label5" runat="server" Text="Email :"></asp:Label>
                </td>
                <td style="height: 41px; width: 242px;">
                    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                </td>
                <td style="height: 41px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" Display="Dynamic" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="height: 41px">
                    &nbsp;</td>
                <td style="height: 41px; width: 242px;">
                    &nbsp;</td>
                <td style="height: 41px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label6" runat="server" Text="Phone:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBox5" Display="Dynamic" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="height: 41px">
                    <asp:Label ID="Label7" runat="server" Text="FirstName :"></asp:Label>
                </td>
                <td style="height: 41px; width: 242px;">
                    <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                </td>
                <td style="height: 41px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox6" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="height: 41px">
                    &nbsp;</td>
                <td style="height: 41px; width: 242px;">
                    &nbsp;</td>
                <td style="height: 41px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label8" runat="server" Text="LastName :"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox7" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
           
            <tr>
                <td>
                    <asp:Label ID="Label11" runat="server" Text="Avata"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:Image ID="Image18" runat="server" Height="234px" Width="220px" ImageUrl="~/Object One/Pic/Ava/em.png" />
                    <br />
                    <asp:FileUpload ID="FileUpload2" runat="server" OnPreRender="FileUpload2_PreRender" />
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label12" runat="server" Text="BirthDay:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox8" runat="server"  onFocus="showCalendarControl(this);"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox8" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr> 
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr> 
             <tr>
                <td>
                    <asp:Label ID="Label9" runat="server" Text="City :"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="187px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged1">
                    </asp:DropDownList>
                </td>
                <td>&nbsp;</td>
            </tr>
             <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>BRANCH:</td>
                <td style="width: 242px">
                    <asp:DropDownList ID="DropDownList6" runat="server" Width="187px">
                    </asp:DropDownList>
                </td>
                <td>&nbsp;</td>
            </tr>
                      
            <tr>
                <td>&nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>&nbsp;</td>
            </tr>
                      
            <tr>
                <td>
                    <asp:Label ID="Label14" runat="server" Text="Role:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:DropDownList ID="DropDownList3" runat="server" Width="184px">
                        <asp:ListItem Value="0">Employee</asp:ListItem>
                        <asp:ListItem Value="1">Admin</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>&nbsp;</td>
            </tr>
                      
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td style="height: 41px">
                    <asp:Label ID="Label15" runat="server" Text="POSITION"></asp:Label>
                </td>
                <td style="height: 41px; width: 242px;">
                    <asp:DropDownList ID="DropDownList4" runat="server" Width="183px">
                        <asp:ListItem Value="Employee">Employee</asp:ListItem>
                        <asp:ListItem>Generalinchief</asp:ListItem>
                        <asp:ListItem Value="Director">Director</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td style="height: 41px"></td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label10" runat="server" Text="Status:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged" />
                    <br />
                    <asp:Literal ID="Literal2" runat="server"></asp:Literal>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label18" runat="server" Text="Active:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:DropDownList ID="DropDownList5" runat="server" Width="184px" OnSelectedIndexChanged="DropDownList5_SelectedIndexChanged">
                        <asp:ListItem Value="0">inActive</asp:ListItem>
                        <asp:ListItem Value="1">Active</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>&nbsp;</td>
            </tr>
             <tr>
                <td>
                    <asp:Label ID="Label16" runat="server" Text="Pin Code:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
                &nbsp;<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="False" Height="27px" ImageUrl="~/Object One/images/1389836701_search-database.png" OnClick="ImageButton2_Click" Width="31px" />
                &nbsp;(ex: NamHTGC60226) It has any 12 characters</td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBox10" Display="Dynamic" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
             <tr>
                <td>
                    <asp:Label ID="Label13" runat="server" Text="Address:"></asp:Label>
                </td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox9" runat="server" Height="57px" TextMode="MultiLine" Width="279px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox9" ErrorMessage="Not Blank!" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
             <tr>
                <td>
                    DESCRIPTION</td>
                <td style="width: 242px">
                    <asp:TextBox ID="TextBox11" runat="server" Height="90px" TextMode="MultiLine" Width="277px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
             <tr>
                <td>
                    &nbsp;</td>
                <td style="width: 242px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td style="width: 242px">
                    <asp:Button ID="Button1" runat="server" Text="Apply" Width="163px" OnClick="Button1_Click" CssClass="button alt" />
                    <asp:Button ID="Button2" runat="server" Text="Reset" Width="155px" CausesValidation="False" OnClick="Button2_Click" CssClass="button" />
                    <br />
                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td style="width: 242px">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>

    </div>
</asp:Content>
